package cn.magic.org.service;

import cn.magic.org.domain.Shop;
import cn.magic.basic.service.IBaseService;
import cn.magic.org.domain.ShopAuditLog;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pc
 * @since 2022-07-01
 */
public interface IShopService extends IBaseService<Shop> {

    // 商店入住接口
    void settlement(Shop shop);

    // 通过店铺
    void pass(ShopAuditLog shopAuditLog);

    // 驳回店铺
    void reject(ShopAuditLog shopAuditLog);

    // 查询店铺报表数据柱状图
    Map<String, Object> loadEcharts();

    // 拒绝店铺
    void repulse(ShopAuditLog shopAuditLog);

    // 批量导入
    void batchSave(List<Shop> shops);

    // 店铺激活
    void activation(Long id);
}
